import request from "../request"
//批量删除
export function probeCheckDelete(data) {
  return request({
    url: `/property/probe/deletInfos`,
    method: 'delete',
    data: data || {}
  })
}

//删除
export function probeMenuDelete(id) {
  return request({
    url: `/property/probe/deletInfo/${id}`,
    method: 'delete',
  })
}

//修改
export function probeModiData(data) {
  return request({
    url: `/property/probe/updateInfo/${data.id}`,
    method: 'put',
    data: data || {}
  })
}

//新增
export function probeAddDatas(data) {
  return request({
    url: '/property/probe/addInfo',
    method: 'post',
    data: data || {}
  })
}
// 详情
export function probeGetDetails(id) {
  return request({
    url: `/property/probe/getInfo/${id}`,
    method: 'get'
  })
}


// 查询渲染列表
export  function probeQueryByPagePv(data) {
    return request({
      url: '/property/probe/iPage',
      method: 'post',
      data: data || {}
    })
  }
